include ../ffox.mk

TARGET=	libnav.a
SRCS=	adc.c \
	commands.c \
	datalink.c \
	downlink.c \
	estimator.c \
	fw_h_ctl.c \
	fw_v_ctl.c \
	gps.c \
	gps_ubx.c \
	gyro.c \
	infrared.c \
	kalman.c \
	latlong.c \
	matrix.c \
	nav.c \
	nav_line.c \
	nav_survey_rectangle.c \
	navigate.c \
	pprz_transport.c \
	rc_settings.c \
	sys_time.c

OBJS:=$(SRCS:%.c=%.o)

all: $(TARGET)

$(TARGET): $(OBJS)
	$(AR) r $(TARGET) $(OBJS)

clean:
	rm -f $(TARGET) $(OBJS)

depend:
	$(CC) $(CFLAGS) -MM $(SRCS) >.depend

-include .depend

